<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>ID VS 类&元素选择器</title>
	<style>
	/*ID选择器>类&元素选择器*/
	#a1 {
		background:red;
	}
	a {
		/*background:#ff8800;*/
	}
	.f_c {
		background:green;
	}
	</style>
</head>
<body>
	<p id="p1"><a href="http://www.baidu.com" id="a1" class="f_c">百度</a></p>
	<p id="p2"><a href="http://www.taobao.com" id="a2" class="f_c">淘宝</a></p>
</body>
</html>